package cn.kgc.emp.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.kgc.emp.entity.Emp;
import cn.kgc.emp.mapper.EmpMapper;
import cn.kgc.emp.service.EmpService;
import cn.kgc.emp.vo.EmpQuery;
@Service
public class EmpServiceImpl implements EmpService{
	@Resource
	private EmpMapper empMapper;

	@Override
	public List<Emp> getEmpList(EmpQuery param) {
		return empMapper.getEmpList(param);
	}

	@Override
	public Long countEmpList(EmpQuery param) {
		// TODO Auto-generated method stub
		return empMapper.countEmpList(param);
	}

}
